// 路由
export default [
  {
    meta: {
      title: "首页",
      isPublic: true,
    },
    path: "/",
    name: "root",
    redirect: { name: "index" },
  },
  {
    path: "/main",
    name: "main",
    component: () => import("@/layout/ZLayout"),
    children: [],
  },
  //    // 匹配无效的路径重定向首页
  {
    path: "/:pathMatch(.*)*",
    redirect: { name: "root" },
  },
];
